package com.example.figurehecheng.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 宇科工作室
 * @since 2024-10-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tourtable")
@ApiModel(value="Tourtable对象", description="")
public class Tourtable implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "商家ID")
    private Integer shopId;

    @ApiModelProperty(value = "特色")
    private String feature;

    @ApiModelProperty(value = "历史背景")
    private String historyBackground;

    @ApiModelProperty(value = "月份")
    private String month;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "开放时间")
    private LocalDateTime openTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "结束时间")
    private LocalDateTime endTime;

    @ApiModelProperty(value = "价格")
    private Long price;

    @ApiModelProperty(value = "视频链接")
    private String video;

    @ApiModelProperty(value = "分类")
    private Integer type;

    @ApiModelProperty(value = "折扣")
    private Long discount;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "旅游类型")
    private Integer tourType;

    @ApiModelProperty(value = "门票数量")
    private Integer number;



}
